﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Frontend.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Thông tin
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="ccat">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td class="ccat-rgh">
                    <div class="ccat-breadcrumb">
                        <%= (string)ViewData["NavigationLink"]%>
                    </div>
                    <div class="hcat">
                        <div class="hcat-partner" id="pProductList">
                           <ul>
    <%
        foreach (sp_GetPartnerResult item in ViewData.Model)
        {
    %>
   <li><a href="<%=FRouter._("sanpham",item.ID.ToString(),item.PartnerName) %>">
        <img src="<%=Constants.PHOTO_PATH_ROOT_PARTNER + item.Logo%>" width="132" height="120" />
        <div class="pname">
            <%=HttpUtility.HtmlEncode(item.PartnerName) %></div>
    </a>
        <div>
            <%=HttpUtility.HtmlEncode(item.Status) %></div>
        <div class="pcprice">
            <%="Giá: " + (item.CurrentPrice == null ? "Call" : String.Format("{0:0,0} d", item.CurrentPrice))%>
        </div>
        <div>
            <span>Giá cũ: </span><span class="linethrough">
                <%=(item.OldPrice != null ? String.Format("{0:0,0} d", item.OldPrice) : "")%></span>
        </div>
        <div>
            Tiết kiệm :
            <%=HttpUtility.HtmlEncode(item.DiscountInfo)%>
        </div>
       <div class="fnormal">
            Xuất xứ :
            <%=HttpUtility.HtmlEncode(item.Manufacturer)%>
        </div>
        <div>
            <a href="<%=FRouter._("dathang",item.ID.ToString(),item.PartnerName)%>">
                <img class="nborder" src="../../Content/Images/muahang.jpg" /></a>
        </div>
    </li>
    <% } %>
</ul>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
